package com.ruoyi.merchant.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.system.api.domain.SysUser;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 救援任务对象 rescue_order
 * 
 * @author ruoyi
 * @date 2025-07-14
 */
public class RescueOrder extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 救援订单ID */
    private Long roId;

    /** 订单编号 */
    @Excel(name = "订单编号")
    private String orderNum;

    /** 求助类型ID */
    @Excel(name = "求助类型ID")
    private Long rtId;

    /** 位置 */
    @Excel(name = "位置")
    private String location;

    /** 求助人 */
    @Excel(name = "求助人")
    private String contactName;

    /** 车牌 */
    @Excel(name = "车牌")
    private String plateNum;

    /** 终点 */
    @Excel(name = "终点")
    private String destination;

    /** 车型 */
    @Excel(name = "车型")
    private String vtId;

    /** 用户 */
    @Excel(name = "用户")
    private Long uId;

    /** 商家 */
    @Excel(name = "商家")
    private Long mId;

    /** 申请时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "申请时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date applyTime;

    /** 服务内容 */
    @Excel(name = "服务内容")
    private String serviceContent;

    /** 0可用，1不可用 */
    private Long isDeleted;

    /** 现场图片 */
    @Excel(name = "现场图片")
    private String imageUrl;

    /** 订单状态：0待接单，1已接单，2已完成，3已取消 */
    @Excel(name = "订单状态")
    private Long status;

    public void setRoId(Long roId) 
    {
        this.roId = roId;
    }

    public Long getRoId() 
    {
        return roId;
    }

    public void setOrderNum(String orderNum) 
    {
        this.orderNum = orderNum;
    }

    public String getOrderNum() 
    {
        return orderNum;
    }

    public void setRtId(Long rtId) 
    {
        this.rtId = rtId;
    }

    public Long getRtId() 
    {
        return rtId;
    }

    public void setLocation(String location) 
    {
        this.location = location;
    }

    public String getLocation() 
    {
        return location;
    }

    public void setContactName(String contactName) 
    {
        this.contactName = contactName;
    }

    public String getContactName() 
    {
        return contactName;
    }

    public void setPlateNum(String plateNum) 
    {
        this.plateNum = plateNum;
    }

    public String getPlateNum() 
    {
        return plateNum;
    }

    public void setDestination(String destination) 
    {
        this.destination = destination;
    }

    public String getDestination() 
    {
        return destination;
    }

    public void setVtId(String vtId) 
    {
        this.vtId = vtId;
    }

    public String getVtId() 
    {
        return vtId;
    }

    public void setuId(Long uId) 
    {
        this.uId = uId;
    }

    public Long getuId() 
    {
        return uId;
    }

    public void setmId(Long mId) 
    {
        this.mId = mId;
    }

    public Long getmId() 
    {
        return mId;
    }

    public void setApplyTime(Date applyTime) 
    {
        this.applyTime = applyTime;
    }

    public Date getApplyTime() 
    {
        return applyTime;
    }

    public void setServiceContent(String serviceContent) 
    {
        this.serviceContent = serviceContent;
    }

    public String getServiceContent() 
    {
        return serviceContent;
    }

    public void setIsDeleted(Long isDeleted) 
    {
        this.isDeleted = isDeleted;
    }

    public Long getIsDeleted() 
    {
        return isDeleted;
    }

    public void setImageUrl(String imageUrl) 
    {
        this.imageUrl = imageUrl;
    }

    public String getImageUrl() 
    {
        return imageUrl;
    }

    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("roId", getRoId())
            .append("orderNum", getOrderNum())
            .append("rtId", getRtId())
            .append("location", getLocation())
            .append("contactName", getContactName())
            .append("plateNum", getPlateNum())
            .append("destination", getDestination())
            .append("vtId", getVtId())
            .append("uId", getuId())
            .append("mId", getmId())
            .append("applyTime", getApplyTime())
            .append("serviceContent", getServiceContent())
            .append("isDeleted", getIsDeleted())
            .append("imageUrl", getImageUrl())
            .append("status", getStatus())
            .toString();
    }
}
